<script>
    $(document).ready(function () {
        $(".page-header").html("<h1>Klubide lehekülg</h1>");
    });

</script>
<table class="table table-hover">
    <thead>
        <tr>
            <th>#</th>
            <th>Nimi</th>
            <th>Lühendatud nimi</th>
            <th>Lühend</th>
        </tr> 
    </thead>
    <tbody>

        <?php
        $i = 1;
        foreach ($teams as /* @var $team Team */ $team) {
            echo '<tr>';
            echo '<td>' . $i . '</td>';
            echo '<td>' . $team->getFullName() . '</td>';
            echo '<td>' . $team->getShortName() . '</td>';
            echo '<td>' . $team->getAbbr() . '</td>';
            echo '</tr>';
            $i++;
        }
        ?>

    </tbody>
</table>